#ifndef __BMS_GLOBAL_H__
#define __BMS_GLOBAL_H__

typedef enum
{
	BMS_STATE_ENABLE = 0x0,
	BMS_STATE_DISABLE,
}BMS_StateTypeDef;

typedef enum
{
	BMS_MODE_STANDBY = 0x0,
	BMS_MODE_CHARGE,
	BMS_MODE_DISCHARGE,	
	BMS_MODE_SLEEP
}BMS_ModeTypeDef;

typedef struct
{
	BMS_ModeTypeDef SysMode;
	BMS_StateTypeDef Charge;
	BMS_StateTypeDef Discharge;
	BMS_StateTypeDef Balance;
	unsigned char Cell_Real_Number;
}BMS_GlobalParamTypeDef;

extern BMS_GlobalParamTypeDef	BMS_GlobalParam;

#endif
